
export default class Time{
    hour: number
    minute: number
    /**pass -1 to all numbers when init with arr */
    constructor(hour: number = 0, minute: number = 0){
        this.hour = hour
        this.minute = minute
    }
    toString(): string{
        return `${this.hour}:${this.minute}`
    }
}